<div id="edit-membership-item">

  <% form_for @membership do |f| %>
    Role: <%= f.text_field :role %>
	<%= f.submit "Save Changes" %>
  <% end %>
		
   <br /><br />
   Dates:
   <div id="membership-dates">
     <%= render :partial => 'dates/dates',
	            :locals => { :dates => @membership.membership_dates,
		    	  			 :item => @membership,
						     :dates_url => membership_dates_url,
							 :events => %w{ Joined Left } } %>
	 </div>
</div>
